/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

import java.time.LocalDate;

/**
 * <p>Project: jse2303 - BookDemo
 * <p>Powered by webrx On 2023-07-12 15:15:05
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class BookDemo {
    public static void main(String[] args) {
        Book bk = new Book();
        bk.setId(10);
        bk.setBookName("《java程序设计》");
        bk.setPubDate(LocalDate.now());
        bk.setPrice(50.0D);


        int id = bk.getId();
        String bookName = bk.getBookName();
        LocalDate pubDate = bk.getPubDate();
        double price = bk.getPrice();


        Student st = new Student();

        int sid = st.getId();
        String name = st.getName();
        LocalDate birth = st.getBirth();
        int score = st.getScore();


        st.setId(11);
        st.setName("李四");
        st.setBirth(LocalDate.now());
        st.setScore(88);


    }
}
